﻿using Microsoft.AspNetCore.Mvc;
using OaEntity.Models;
using PermissionAuthenticationDemo.Service;
using PermissionAuthenticationDemo.Utility.Service;
using StackExchange.Redis;

namespace PermissionAuthenticationDemo.Controllers
{
    public class CURDController : ControllerBase
    {
        //注入OaContext服务
        protected readonly OaContext oaContext;

        //注入redis服务
        //protected readonly IConnectionMultiplexer connectionMultiplexer;

        //注入token服务
        //private IJWTService jwtService;

        public CURDController(OaContext oaContext)
        {
            this.oaContext = oaContext;
            //this.connectionMultiplexer = connectionMultiplexer;
            //this.jwtService = jwtService;
        }
    }
}
